package com.jsbs.iam.common.core.exception;


import com.jsbs.iam.common.core.dto.Result;

/**
 * 用于当做业务Result返回使用
 */
public class ResultException extends RuntimeException {
    private Result result;
    public ResultException(Result result){
        this.result = result;
    }

    public Result getResult() {
        return result;
    }

    public void setResult(Result result) {
        this.result = result;
    }
}
